using System;
using System.Web.UI.WebControls;
using System.Web.UI;
using System.ComponentModel;
using System.ComponentModel.Design;
using AjaxControlToolkit;

[assembly: System.Web.UI.WebResource("ReserveSocietyControls.TextBoxWaterMarkBehavior.js", "text/javascript")]

namespace ReserveSocietyControls
{
    [Designer(typeof(TextBoxWaterMarkDesigner))]
    [ClientScriptResource("ReserveSocietyControls.TextBoxWaterMarkBehavior", "ReserveSocietyControls.TextBoxWaterMarkBehavior.js")]
    [TargetControlType(typeof(TextBox))]
    public class TextBoxWaterMarkExtender : ExtenderControlBase
    {
        // TODO: Add your property accessors here.
        //
        [ExtenderControlProperty]
        [DefaultValue("")]
        public string Text
        {
            get
            {
                return GetPropertyValue("Text", "");
            }
            set
            {
                SetPropertyValue("Text", value);
            }
        }

        [ExtenderControlProperty]
        [DefaultValue("")]
        public string WaterMarkCssClass
        {
            get { return GetPropertyValue("WaterMarkCssClass", ""); }
            set { SetPropertyValue("WaterMarkCssClass", value); }
        }
    }
}
